﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dream
{
    class Petshop
    {
        public void Check(Animal a) 
        {
            a.Eat();
            Console.WriteLine("------------------------");

            a.Sleep();
            Console.WriteLine("------------------------");

            a.Walk();
            Console.WriteLine("------------------------");
            a.Cry();

            Console.WriteLine("------------------------");
            Console.WriteLine("寄养成功");
        }
    }
}
